import request from 'umi-request';
import { API_URL_V2 } from './index';
export async function _getBaseCondition(params: any) {
  return request('baseCondition/getBaseCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getInfluentCondition(params: any) {
  return request('influentCondition/getInfluentCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getTailWaterCondition(params: any) {
  return request('tailWaterCondition/getTailWaterCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getShiftDutyCondition(params: any) {
  return request('shiftDutyCondition/getShiftDutyCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getDeviceCondition(params: any) {
  return request('deviceCondition/getDeviceCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getDamageRateCondition(params: any) {
  return request('damageCondition/getDamageRateCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getDamageCondition(params: any) {
  return request('damageCondition/getDamageCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getFeedShiftDutyCondition(params: any) {
  return request('feedCondition/getShiftDutyCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}

export async function _getRepertoryCondition(params: any) {
  return request('repertoryCondition/getRepertoryCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getObjFishTypes(params: any) {
  return request('repertoryCondition/getObjFishTypes', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getGrowthCondition(params: any) {
  return request('baseCondition/getGrowthCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getVideoCondition(params: any) {
  return request('deviceCondition/getVideoCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getObjDeviceVideos(params: any) {
  return request('dataHisSwitch/getObjDeviceVideos', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getYsToken(params: any) {
  return request('deviceCondition/getYsToken', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getNumericalDataCharts(params: any) {
  return request('dataHisSwitch/getNumericalDataCharts', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getWeightCondition(params: any) {
  return request('baseCondition/getWeightCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getExecutepalnCondition(params: any) {
  return request('baseCondition/getExecutepalnCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getYearCondition(params: any) {
  return request('baseCondition/getYearCondition', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getWaterInflowNumericalChat(params: any) {
  return request('baseCondition/getWaterInflowNumericalChat', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getDataDeviceAlarmList(params: any) {
  return request('dataHisSwitch/getDataDeviceAlarmList', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getDataScheduleTaskAlarmList(params: any) {
  return request('dataHisSwitch/getDataScheduleTaskAlarmList', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getDataBoxPushAlarmList(params: any) {
  return request('dataHisSwitch/getDataBoxPushAlarmList', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getMapInBox(params: any) {
  return request('dataHisSwitch/getMapInBox', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getMapBaseTasks(params: any) {
  return request('dataHisSwitch/getMapBaseTasks', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getMapFishBoxes(params: any) {
  return request('dataHisSwitch/getMapFishBoxes', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getNewAlarmInfo(params: any) {
  return request('dataHisSwitch/getNewAlarmInfo', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _getMapMicro(params: any) {
  return request('dataHisSwitch/getMapMicro', {
    method: 'GET',
    params: params,
    prefix: API_URL_V2,
  });
}
export async function _startObjDeviceVideo(params: any) {
  return request('objDeviceVideo/startObjDeviceVideo', {
    method: 'POST',
    data: params,
    prefix: API_URL_V2,
  });
}
